backends/drm: only enable HDR if both display and driver are capable of it
The config may have HDR or WCG enabled, and the driver or display settings changed since then to make it impossible to actually enable either. The config values stay unchanged when this happens, so reconnecting the display with HDR support will automatically turn it on again.