Twist points of planar domains