### Godot version

any version after 74458b6

### System information

Linux x64, but likely irrelevant

### Issue description

OpenXR action maps are not properly exported in recent builds of Godot 4: the `.res` file is small and does no longer seem to contain anything of use. In-game, no actions are passed on to OpenXR (obviously).

I bisected the issue down to https://github.com/godotengine/godot/commit/74458b6e9bed0f28db3374c7406eacbcf4b09b9d, which was merged in #70377.

### Steps to reproduce

1. Delete any previous export files (`.godot/exported/*/*.pkg`)
2. Perform an export (I did one for Android, but it likely works with anything)
3. Observe OpenXR actions not working in the export (error spam 'sync_action_sets: Condition "active_sets.size() == 0"'), and the exported action map file being very small (`.godot/exported/*/*.pkg`, from a few tens of kilobytes down to 296 bytes)

### Minimal reproduction project

Any OpenXR project can be used, such as https://github.com/BastiaanOlij/godot4_openxr_demo
_edit_filter_list(paths, String("*.icns"), false);
	_edit_filter_list(paths, String("*.ico"), false);
	_edit_filter_list(paths, p_preset->get_include_filter(), false);
	_edit_filter_list(paths, p_preset->get_exclude_filter(), true);
	
	_edit_filter_list(paths, String("*.import"), true);
	
	bool enc_pck = p_preset->get_enc_pck();
	Vector<String> enc_in_filters;
	Vector<String> enc_ex_filters;
	Vector<uint8_t> key;
	if (enc_pck) {
		Vector<String> enc_in_split = p_preset->get_enc_in_filter().split(",");
		for (int i = 0; i < enc_in_split.size(); i++) {
			String f = enc_in_split[i].strip_edges();
			if (f.is_empty()) {
				continue;
			}
			enc_in_filters.push_back(f);
		}
		Vector<String> enc_ex_split = p_preset->get_enc_ex_filter().split(",");
		for (int i = 0; i < enc_ex_split.size(); i++) {
			String f = enc_ex_split[i].strip_edges();
			if (f.is_empty()) {
				continue;
			}
			enc_ex_filters.push_back(f);
		}
		
		String script_key = p_preset->get_script_encryption_key().to_lower();