[KBSwitch] Use FindX11 for #1563.
[KBSwitch] Check if X11 libraries are found for #1563.