PipeWire: cleanups & harden initialization


* Factor out PWThreadedEventLoop to wrap pw_thread_loop to unify
codebase
* add checkSupportPluginsLoadable() to QPipeWireInstance to check if we
have a functional pipewire install. It would otherwise fail later when
constructing pw_thread_loop

No functional change

Pick-to: 6.12
Change-Id: I19fb326e18b5a99b5b6e63ae5e79d59087cdcb96
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commit3ecb628fccd2421f32abcaf5a7354f7bcb3e09b9
parentfd01be0b50d0d1872698648585bc845729af96d6
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeThu, 20 Aug 2026 12:14:27 +0000