### 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
config->get_section_keys("remap", &remaps);
				HashSet<String> remap_features;
				for (const String &F : remaps) {
					String remap = F;
					String feature = remap.get_slice(".", 1);
					if (features.has(feature)) {
						remap_features.insert(feature);
					}
				}
				if (remap_features.size() > 1) {
					this->resolve_platform_feature_priorities(p_preset, remap_features);
				}
				err = OK;
				for (const String &F : remaps) {
					String remap = F;
					if (remap == "path") {
						String remapped_path = config->get_value("remap", remap);
						Vector<uint8_t> array = FileAccess::get_file_as_bytes(remapped_path);
						err = p_func(p_udata, remapped_path, array, idx, total, enc_in_filters, enc_ex_filters, key);
					} else if (remap.begins_with("path.")) {
						String feature = remap.get_slice(".", 1);
						if (remap_features.has(feature)) {
							String remapped_path = config->get_value("remap", remap);
							Vector<uint8_t> array = FileAccess::get_file_as_bytes(remapped_path);
							err = p_func(p_udata, remapped_path, array, idx, total, enc_in_filters, enc_ex_filters, key);
						}
					}
				}
				if (err != OK) {
					return err;