### Godot version

4.0.3stable

### System information

-OS: Windows 11

### Issue description

When I set "display/window/size/resizable" flag in godot 4 it destroys minimize button only shows close button. In godot 3 it disables maximize button
Godot 4:
![image](https://github.com/godotengine/godot/assets/78092286/715e34b7-42a6-4d06-88c3-c66f8c0e1bb7)
Godot 3:
![image](https://github.com/godotengine/godot/assets/78092286/da53df91-1ae0-4145-9192-1f13240b519c)


### Steps to reproduce

1. I opened **Project Settings/Display/Window**
2. Then I uncheck "Resizable" option both in godot 3/4
3. In Godot 3 it only disabled maximize button
4. In Godot 4 it destroyed maximize and minimize buttons.

### Minimal reproduction project

[FloweyFight.zip](https://github.com/godotengine/godot/files/11589075/FloweyFight.zip)

window_set_transient(p_window, INVALID_WINDOW_ID);
	}
#ifdef VULKAN_ENABLED
	if (context_vulkan) {
		context_vulkan->window_destroy(p_window);
	}
#endif
#ifdef GLES3_ENABLED
	if (gl_manager) {
		gl_manager->window_destroy(p_window);
	}
#endif
	if ((tablet_get_current_driver() == "wintab") && wintab_available && windows[p_window].wtctx) {
		wintab_WTClose(windows[p_window].wtctx);
		windows[p_window].wtctx = 0;
	}
	DestroyWindow(windows[p_window].hWnd);
	windows.erase(p_window);
	if (last_focused_window == p_window) {
		last_focused_window = INVALID_WINDOW_ID;
	}
}
void DisplayServerWindows::gl_window_make_current(DisplayServer::WindowID p_window_id) {
#if defined(GLES3_ENABLED)
	if (gl_manager) {
		gl_manager->window_make_current(p_window_id);
	}
#endif
}
int64_t DisplayServerWindows::window_get_native_handle(HandleType p_handle_type, WindowID p_window) const {