testsuite: don't run x11-specific tests if disabled
Some testcases rely on X11 support, which is not always available, typically on win32.
Skip them if the X11 GDK backend is disabled.
Some testcases rely on X11 support, which is not always available, typically on win32.
Skip them if the X11 GDK backend is disabled.