[tests] Replace SKIP_ENV_INIT with DO_X11_TESTS

Instead of requiring a special environment variable to skip tests
which require a special X11 environment, skip these tests by default
and have users opt-in with the DO_X11_TESTS environment variable.

This (finally) fixes "make distcheck".