wlr_output: fix scope for 'now'
wlr_output: fix scope for 'now'

'when' points to now that was defined in the if, so compiler could reuse
that memory area by the time 'when' is called

Found through static analysis.

ascent12/wlroots,ascent12/wlroots,swaywm/wlroots,SirCmpwn/wlroots,swaywm/wlroots