workspace: fix slotOutputDisabled
Setting output variables based on positioning leaves dangling pointers to the disabled output as slotOutputDisabled is called before the output actually gets removed.
This fixes the crash but is still far from ideal - desktopResized
is still called when the to-be-removed output is still there, and when the positioning of outputs has not yet changed.