Revert "Read and process Wayland events in separate thread"

This commit causes a regression making QML applications with top level
windows crash.

See https://bugreports.qt-project.org/browse/QTBUG-30156