A Theory of the Distortion-Perception Tradeoff in Wasserstein Space