Why does the International Dateline only touch at the north and south poles?

I'm mystified by the question. Every single point on the International Dateline is

a point where it touches the Earth, and there are an infinite number of those.

What else do you want it to touch ?