Higher-dimensional black hole geometric thermodynamics