Refactor the x-output selection in the GTK UI

Initialise the default values early.
Try to overwrite them if --x-output is passed.