Add touch input for X11.

This uses the XInput2 extensions, which is now a hard dependency for the X11
backend. This should be present on all Linuxes in the past 5 years. If not, the
implementation can be macro'd out.