Make QWaylandWindow::setVisible(false) work

Change-Id: I8f742f03819c7a626b23a92e211bd990a8d39969