Cannot choose ProPhotoRGB as output profile

It does support it, it just doesn’t use it by default.

Why would it?

Wrong assumption. The image at the end of the pipeline is apparently in L*a*b*.
https://github.com/Beep6581/RawTherapee/blob/dev/tools/color_management.svg