Scalable Sobolev IPM for Probability Measures on a Graph