Stagnation of a droplet on a conical substrate determined by the critical curvature ratio