backend: fix use-after-free in wlr_backend_autocreate
backend: fix use-after-free in wlr_backend_autocreate

Found by clang static analyzer.

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