Implements touch support on QTWayland. Contributed by Thomas Perl.