LCA-on-the-Line: Benchmarking Out-of-Distribution Generalization with Class Taxonomies