I don’t think RT depends on any macOS component for raw support, as you found out
As mentioned above, you can probably try to add better support to X-T5 by hacking away at the camconst.json file: you can for example use the values from the darktable/rawspeed support table, they should have a 1:1 correspondence. (And these are identical for the X-H2 btw.)