Modernize X11-related cmake code
Use imported targets instead of variables Use PkgConfig directly instead of wrapping calls in a find module
Use imported targets instead of variables Use PkgConfig directly instead of wrapping calls in a find module