Add a default mode in QWaylandQuickOutput
The QWaylandQuickOutput does not have any way for the users
to add modes to the output. It therefore depends on detecting
a default mode, otherwise the client will get 0x0 for the size
of the screen.
Setting sizeFollowsWindow to true fixes this, but the default
value is false, and this property also causes any changes to
the window size to be reported. This means that by default,
compositors will not report any valid size of outputs. To
fix this, we add a default output. If sizeFollowsWindow this
will be overwritten in QWaylandOutput::initialize() and
follow the regular code paths.
Fixes: QTBUG-137154
Change-Id: I388245b729b5aafd16f43f7408914084771864ce
Reviewed-by: Inho Lee <inho.lee@qt.io>