a11y: Check X11 display at runtime
gtk_widget_accessible_grab_focus()
code checks that X11 isenabled at
build time and uses X11 specific functions such as
gdk_x11_get_server_time()
regardless of the actual backend being used.
Check that we are using an X11 display when X11 is backend enabled, so we do not crash when running on Wayland
Closes: #1507 (closed)