Twist transition in nematic droplets: a stability analysis