egl/wayland: Cleanup private display connection when init fails
When failing to initializing the Wayland EGL driver, don't leak the display server connection if it was us who created it. Signed-off-by:Jonas Ådahl <jadahl@gmail.com> Cc: mesa-stable@lists.freedesktop.org Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Daniel Stone <daniels@collabora.com>