### Godot version

v4.0.beta.mono.custom_build [d1e5903c6]

### System information

Arch Linux, Vulkan

### Issue description

While using the new "Export as dedicated server" Export Mode introduced in #70377, ticking a folder does not tick all children like the other modes.

When a project has hundreds or thousands of resources it would be tedious to have to click them all individually.

Below looks to be the cause, it looks to be handled differently as the file mode (e.g Strip Visuals) would need to be setup for each of the children as well.

https://github.com/godotengine/godot/blob/d1e5903c67956707948b1de370b807e3aad395b7/editor/export/project_export.cpp#L842-L854

Ideally, if a folder's file mode is changed then that would propagate to any ticked children as well.

### Steps to reproduce

1. Open Project>Export
2. Add or click on an existing preset
3. In the Resources tab select "Export as dedicated server" as the Export Mode
4. Tick a folder, observe no children are affected.
5. Try the other selective export modes, ticking folders also ticks all child files & folders

### Minimal reproduction project

N/A
void _delete_preset();
	void _delete_preset_confirm();
	void _update_export_all();
	void _force_update_current_preset_parameters();
	void _update_current_preset();
	void _update_presets();
	void _export_type_changed(int p_which);
	void _filter_changed(const String &p_filter);
	void _fill_resource_tree();
	void _setup_item_for_file_mode(TreeItem *p_item, EditorExportPreset::FileExportMode p_mode);
	bool _fill_tree(EditorFileSystemDirectory *p_dir, TreeItem *p_item, Ref<EditorExportPreset> &current, EditorExportPreset::ExportFilter p_export_filter);
	void _tree_changed();
	void _check_propagated_to_item(Object *p_obj, int column);
	void _tree_popup_edited(bool p_arrow_clicked);
	void _set_file_export_mode(int p_id);
	Variant get_drag_data_fw(const Point2 &p_point, Control *p_from);
	bool can_drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) const;
	void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from);
	EditorFileDialog *export_pck_zip = nullptr;
	EditorFileDialog *export_project = nullptr;
	CheckBox *export_debug = nullptr;
	CheckBox *export_pck_zip_debug = nullptr;
	CheckButton *enc_pck = nullptr;
	CheckButton *enc_directory = nullptr;
	LineEdit *enc_in_filters = nullptr;
	LineEdit *enc_ex_filters = nullptr;
	void _open_export_template_manager();
	void _export_pck_zip();
	void _export_pck_zip_selected(const String &p_path);
	void _validate_export_path(const String &p_path);