wayland: Changed output removal in handle_surface_leave()

No longer needs an extra malloc, handles unexpected cases like the same
output being listed twice.
1 file changed