Revert "wayland: Don't initialize OpenGL when the window flags didn't specify it"
This reverts commit f522c5380cb371a83d21d3d01f088ce5b9531263.
We don't want this change for SDL2, and we're doing further investigation for SDL3.
Fixes https://github.com/libsdl-org/SDL/issues/9035
(cherry picked from commit 120b8d4189d0979e4838daeb25d5a69e6260f5e0)