Add support for the XWAYLAND extension
Where this extension is present, we can be sure the X server is Xwayland. Since it'll take a while for servers to propagate, leave the existing check in place as fallback.
Where this extension is present, we can be sure the X server is Xwayland. Since it'll take a while for servers to propagate, leave the existing check in place as fallback.