Experimental demonstration of topological bounds in quantum metrology