fix: crash when editing disabled display output's refresh rate

When display output was disabled, Output::currentMode() returned
a null pointer and used it shortly afterwards.

BUG: 450265
2 jobs for !86 with master in 1 minute and 57 seconds (queued for 1 second)
latest merge request