main_wayland: prevent stale config values from causing wrong Xwayland scaling
With a non-1.0 scale factor in kwinrc, on startup
- Workspace::applyOutputConfiguration calculates a new Xwayland scale, 1.0
- Application::setXwaylandScale ignores the scale, because it defaults to 1.0
- ApplicationWayland::performStartup sets the scale to the stale config value
Two things needed fixing here,
- the code for reading the config value needed to be deleted... KWin decides on the scale factor, not an external application that it needs to follow. This also ignored the XwaylandClientsScale settings entirely!
- if Application didn't have an Xwayland value set yet, it needs to update the config, even if the Xwayland scale is 1.0, to prevent Plasma from using that wrong scaling value for X11 apps