backend-wayland: Do not spin forever if dispatching failed
Two small fixes that are geared towards fixing (at least for the moment, until we have correct output resizing) #420 (closed). One patch that avoids a potential un-initialized list parsing, and one that exits if we found a failed dispatch.