Revert "wayland/outputdevice: use OutputMode directly"

Xaver Hugl requested to merge work/dangling-connector into master

This reverts commits 67181d5d and d03e352d.

BUG: 454014

Merge request reports