### 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
static const char *target_type = "text/uri-list";
	for (int i = 0; i < p_count; i++) {
		Atom atom = p_list[i];
		if (atom != None && get_atom_name(p_display, atom) == target_type) {
			return atom;
		}
	}
	return None;
}
static Atom pick_target_from_atoms(Display *p_disp, Atom p_t1, Atom p_t2, Atom p_t3) {
	static const char *target_type = "text/uri-list";
	if (p_t1 != None && get_atom_name(p_disp, p_t1) == target_type) {
		return p_t1;
	}
	if (p_t2 != None && get_atom_name(p_disp, p_t2) == target_type) {
		return p_t2;
	}
	if (p_t3 != None && get_atom_name(p_disp, p_t3) == target_type) {
		return p_t3;
	}
	return None;
}
void DisplayServerX11::_get_key_modifier_state(unsigned int p_x11_state, Ref<InputEventWithModifiers> state) {
	state->set_shift_pressed((p_x11_state & ShiftMask));
	state->set_ctrl_pressed((p_x11_state & ControlMask));
	state->set_alt_pressed((p_x11_state & Mod1Mask )); 
	state->set_meta_pressed((p_x11_state & Mod4Mask));
}
BitField<MouseButtonMask> DisplayServerX11::_get_mouse_button_state(MouseButton p_x11_button, int p_x11_type) {