OOD-Probe: A Neural Interpretation of Out-of-Domain Generalization