color management: improve brightness handling
Commit 1 renames all the brightness things to luminance, and shortens some variable names
Commit 2 adds reference luminance mapping, so that the reference / SDR luminance of different content on the screen matches with the user configured value (see https://gitlab.freedesktop.org/swick/wayland-protocols/-/merge_requests/74 for the protocol side of that). It also simplifies SDR<->HDR mapping and improves it significantly in some cases. Here's Doom Eternal in the overview (HDR mapped to SDR):