Looking for phase-space structures in star-forming regions: An MST-based methodology