autotests: Fix testScreens
Currently, the test doesn't pass due to Xwayland encountering a protocol error.
That protocol error occurs because the xdg-output is destroyed before the wl_output.
This change moves the ownership of the xdg-output to wl-output so they are destroyed together.