Confirmed that in order to get OBS to capture the screen via pipewiresrc in game mode, it has to be running outside of a container - flatpak OBS doesn't work. So messing with files outside home (and building your own obs-gstreamer) practically required.