Improve and adapt the autotests to the use the new Wayland `desktops` API instead of relaying on the X11 fallback methods.