Fix mishandling of output configuration if output monitor EDID is missing
This functionally fixes
- duplication of output configuration in ~/.config/kwinoutputconfig.json
- wrong ouput configuration - in particular the scale - being restored (i.e. scale would never be restored)
(cherry picked from commit d563bc6c)