Geometric criteria for the snap-off of a nonwetting droplet in pore-throat channels with rectangular cross-sections