Rather than using pipewire directly, we can use this framework which allows us to share a bunch of code with Plasma.
It implements a KWin protocol that is oriented towards serving a virtual display specifically. It requests KWin a stream that will act as a monitor that we can feed into remote clients.