[vlc/f27: 18/22] Add patch from vlc mailing list to fix wayland freeze (rfbz#4596)