wayland: Remove undefined function
wayland: Avoid false positive by initializing memory

A false positive was being returned when checking member variable extended_surface.
Initialize the SDL_WaylandWindow struct allocated memory to avoid the problem.
wayland: Prefer SDL_VIDEO_RENDER_OGL
wayland: Add wayland checks for cmake
wayland: Fix warning
Use pkg-config to find Wayland libraries in the configure script.