Geodesic Distance Between Graphs: A Spectral Metric for Assessing the Stability of Graph Neural Networks