In order for HDR to work within gamescope, you need to separately install the gamescope-wsi package alongside enabling the gamescope program.
gamescope-wsi
gamescope