Geometric Signatures of Compositionality Across a Language Model's Lifetime