The Geometry of Numerical Reasoning: Language Models Compare Numeric Properties in Linear Subspaces