Allow X11 tests to be disabled in CI