Text Meets Topology: Rethinking Out-of-distribution Detection in Text-Rich Networks