Wayland: config update code cleanup
Summary:
In WaylandConfig getting the current config also always updates it. Improve
the code of that.
Test Plan: Compiles, runs.
Reviewers: Plasma
Subscribers: plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D22970