A geometric characterization of potential Navier-Stokes singularities