Make sure the current resolution is in the fullscreen mode list
Custom resolutions don't enumerate normally, but make sure the current resolution is in the mode list.
Fixes https://github.com/libsdl-org/SDL/issues/11551
(cherry picked from commit b1c2dd8433ff1c0acec21db998dc85615d96a6db)