Set primary output when old one is disabled
This is a follow-up to !21 (merged).
When generating configurations we might need to set a new primary output even if one is already set but this one has been disabled.
This was discovered by a failing unit test in KDisplay: https://gitlab.com/kwinft/kdisplay/-/jobs/796404629