xwayland: Properly handle xcb_connect_to_fd() failures
xcb_connect_to_fd() will never return a NULL pointer, even if an error has occurred.
Right after creating an xcb connection, xcb_connection_has_error() needs to be called in order to determine if the connection has an error.