Quantum limits to gravity estimation with optomechanics