### 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
}
					break;
				}
			}
		}
		if (_export_customize_object(res.ptr(), customize_resources_plugins)) {
			modified = true;
		}
		if (modified || p_force_save) {
			
			String base_file = p_path.get_file().get_basename() + ".res"; 
			save_path = export_base_path.path_join("export-" + p_path.md5_text() + "-" + base_file);
			Error err = ResourceSaver::save(res, save_path);
			ERR_FAIL_COND_V_MSG(err != OK, p_path, "Unable to save export resource file to: " + save_path);
		}
	}
	fec.saved_path = save_path;
	export_cache[p_path] = fec;
	return save_path.is_empty() ? p_path : save_path;
}
Error EditorExportPlatform::export_project_files(const Ref<EditorExportPreset> &p_preset, bool p_debug, EditorExportSaveFunction p_func, void *p_udata, EditorExportSaveSharedObject p_so_func) {
	
	HashSet<String> paths;
	Vector<String> path_remaps;
	paths.insert(ProjectSettings::get_singleton()->get_project_data_path().path_join("global_script_class_cache.cfg"));
	if (p_preset->get_export_filter() == EditorExportPreset::EXPORT_ALL_RESOURCES) {
		
		_export_find_resources(EditorFileSystem::get_singleton()->get_filesystem(), paths);
	} else if (p_preset->get_export_filter() == EditorExportPreset::EXCLUDE_SELECTED_RESOURCES) {
		_export_find_resources(EditorFileSystem::get_singleton()->get_filesystem(), paths);