### Godot version

1f22c48

### System information

Linux (Fedora 36)

### Issue description

Pull request https://github.com/godotengine/godot/pull/70052 (commit https://github.com/godotengine/godot/commit/1f22c482e192ef7df57fdc182243459d3dc4f232) seems to break the way keyboard inputs are handled in the Godot editor when using nonstandard keyboard layouts (e.g, I am using `de neo`).

Before said commit (tested with `beta14` and the direct parent, `81fe3715b8`) keyboard shortcuts in the editor would use the actual key pressed depending on the current keyboard layout. After said commit, keyboard shortcuts require pressing the key where it would be on a standard (QWERTY?) layout instead.

That behavior is, in my opinion, incorrect. It's different from the previous behavior and also different from every other application on my machine, breaking my muscle memory. I don't think customizing all of the shortcuts manually is a valid workaround.

### Steps to reproduce

For example:
1. Open any project
2. Press Ctrl-S, it won't save
3. Press Ctrl-[the key where S would be on QWERTY], it saves

### Minimal reproduction project

N/A
}
	Ref<InputEventFromWindow> event_from_window = p_event;
	if (event_from_window.is_valid() && event_from_window->get_window_id() != INVALID_WINDOW_ID) {
		
		if (windows.has(event_from_window->get_window_id())) {
			Callable callable = windows[event_from_window->get_window_id()].input_event_callback;
			if (callable.is_valid()) {
				callable.callp((const Variant **)&evp, 1, ret, ce);
			}
		}
	} else {
		
		for (KeyValue<WindowID, WindowData> &E : windows) {
			Callable callable = E.value.input_event_callback;
			if (callable.is_valid()) {
				callable.callp((const Variant **)&evp, 1, ret, ce);
			}
		}
	}
}
void DisplayServerX11::_send_window_event(const WindowData &wd, WindowEvent p_event) {
	if (!wd.event_callback.is_null()) {
		Variant event = int(p_event);
		Variant *eventp = &event;
		Variant ret;
		Callable::CallError ce;
		wd.event_callback.callp((const Variant **)&eventp, 1, ret, ce);
	}
}
void DisplayServerX11::_poll_events_thread(void *ud) {