Minimal spanning tree statistics for the analysis of large-scale structure