Twist symmetry and open-string Wilson lines