examples/output-layers: fix layers not included in commit
wlr_output_set_layers() attaches layers to the output's pending state, but then uses a detached wlr_output_state in wlr_output_state_commit(). This results in layers being left out of the committed state.
Fixes: 8e81b4bb ("examples: convert to new rendering API")