Most, if not all modern web browsers, smartphone platforms, and well-developed raw editors support JPEG XL as an export option. Why has this not been implemented in capture one yet? Even the new Art Craft reimplementations of Adobe's software now support exporting JPEG XL.
Current workaround
I found tools on GitHub, but I need to export Tiff files first, which are then converted to JPEG XL. This should be way simpler, especially using capture One