Fullscreen HDR support is coming with KDE Plasma 6 on Wayland (which should be available with Fedora Linux 40 and other distributions depending on their timelines).
Nightlies are available to try out now: https://openqa.fedoraproject.org/nightlies.html