configure: fix Windows build when --disable-directx is used
Previously the wglew.h check would only be done when directx is enabled, but when disabled, other OpenGL modules are still enabled and these would break without the gl/wdlew.h include, which would never be done because HAVE_GL_WGLEW_H would not be defined.