### 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_MAIN_THREAD_GUARD;
	theme_owner->set_owner_context(p_context, p_propagate);
}
void Window::set_theme(const Ref<Theme> &p_theme) {
	ERR_MAIN_THREAD_GUARD;
	if (theme == p_theme) {
		return;
	}
	if (theme.is_valid()) {
		theme->disconnect_changed(callable_mp(this, &Window::_theme_changed));
	}
	theme = p_theme;
	if (theme.is_valid()) {
		theme_owner->propagate_theme_changed(this, this, is_inside_tree(), true);
		theme->connect_changed(callable_mp(this, &Window::_theme_changed), CONNECT_DEFERRED);
		return;
	}
	Control *parent_c = Object::cast_to<Control>(get_parent());
	if (parent_c && parent_c->has_theme_owner_node()) {
		theme_owner->propagate_theme_changed(this, parent_c->get_theme_owner_node(), is_inside_tree(), true);
		return;
	}
	Window *parent_w = cast_to<Window>(get_parent());
	if (parent_w && parent_w->has_theme_owner_node()) {
		theme_owner->propagate_theme_changed(this, parent_w->get_theme_owner_node(), is_inside_tree(), true);
		return;
	}
	theme_owner->propagate_theme_changed(this, nullptr, is_inside_tree(), true);
}
Ref<Theme> Window::get_theme() const {