### Godot version

4.2

### System information

Windows 10

### Issue description

This commit https://github.com/godotengine/godot/commit/72e2e4705942dd01d4befea3380df5d0fe77c363 added `_update_window_size` to `set_title` for some reason:
https://github.com/godotengine/godot/blob/0bf12956a10d216c46368f26b00f6999d000c1d8/scene/main/window.cpp#L287

This causes the Vulkan swapchain to be recreated each time the title is changed causing massive fps loss.

### Steps to reproduce

```
func _process(_delta):
 var title = "fps: %d" % Engine.get_frames_per_second()
 get_window().set_title(title)
```

### Minimal reproduction project

See steps to reproduce
ERR_READ_THREAD_GUARD_V(false);
	const Ref<Texture2D> *tex = theme_icon_override.getptr(p_name);
	return tex != nullptr;
}
bool Window::has_theme_stylebox_override(const StringName &p_name) const {
	ERR_READ_THREAD_GUARD_V(false);
	const Ref<StyleBox> *style = theme_style_override.getptr(p_name);
	return style != nullptr;
}
bool Window::has_theme_font_override(const StringName &p_name) const {
	ERR_READ_THREAD_GUARD_V(false);
	const Ref<Font> *font = theme_font_override.getptr(p_name);
	return font != nullptr;
}
bool Window::has_theme_font_size_override(const StringName &p_name) const {
	ERR_READ_THREAD_GUARD_V(false);
	const int *font_size = theme_font_size_override.getptr(p_name);
	return font_size != nullptr;
}
bool Window::has_theme_color_override(const StringName &p_name) const {
	ERR_READ_THREAD_GUARD_V(false);
	const Color *color = theme_color_override.getptr(p_name);
	return color != nullptr;
}
bool Window::has_theme_constant_override(const StringName &p_name) const {
	ERR_READ_THREAD_GUARD_V(false);
	const int *constant = theme_constant_override.getptr(p_name);
	return constant != nullptr;
}
float Window::get_theme_default_base_scale() const {