Make QQuickWidget accept touch events on recent Qt versions
This fixes some issues operating the touch docker and other QML parts
with touchscreen when using Qt LTS later than 5.9.3. See
https://bugreports.qt.io/browse/QTBUG-66718
Differential Revision: https://phabricator.kde.org/D12762