I'll complete jflipp's answer here.
Let me assume that $X$ is a unit divergence-free vector field on some surface $(M^2,g)$ (with Riemannian connection $\nabla$); at the end I will specialize to $(M^2,g) = (\mathbb{R}^2,\mathrm{can})$ The Poincare lemma states that any closed differential form is exact, at least locally (in $\mathbb{R}^2$ also globally). For $1$-forms in $2$ dimension, this translates to divergence-free fields and gradient fields.
Thus, we can assume (at least locally) $X^\perp = \nabla h$ for some function $h$ (I'm abusing the notation a bit here), where $(X,X^\perp)$ forms a positive orthonormal frame.
The following could be done slightly easier in $\mathbb{R}^2$, but it still holds for any manifold $(M^n,g)$.
Using the fact that $\nabla$ is a metric connection, we get
\begin{align*}
\langle \nabla_V \nabla h, W \rangle
& = V \langle \nabla h, W \rangle - \langle \nabla h, \nabla_V W \rangle \\
& = V(W h) - (\nabla_V W) h
\end{align*}
for any vector fields $V,W$. Since $\nabla$ is also torsion-free (i.e. $\nabla_V W - \nabla_W V = [V,W]$), we may exchange $V$ and $W$ in the expression above, hence
$$ \langle \nabla_V \nabla h, W \rangle = \langle \nabla_W \nabla h, V \rangle \qquad ( = \operatorname{Hess} h(V,W), \text{ the Hessian}). $$
Applying this and recalling that $\langle \nabla h, \nabla h \rangle = |X|^2 = 1$,
\begin{align*}
\langle \nabla_{\nabla h} \nabla h, V \rangle
& = \langle \nabla_V \nabla h, \nabla h \rangle \\
& = \frac 12 V \langle \nabla h, \nabla h \rangle \\
& = 0
\end{align*}
for any vector field $V$. This shows that $\nabla_{\nabla h} \nabla h \equiv 0$, i.e., that integral curves of $\nabla h$ are geodesic.
Now restrict our attention to $(\mathbb{R}^2,\mathrm{can})$, where geodesic curves are just straight lines. To summarize, we have shown that integral curves of $X^\perp$ are straight lines (even though the reasoning was local, the conclusion is global). Since these curves are not allowed to intersect, they have to be parallel lines, i.e., $X^\perp$ has a fixed direction. Recalling that $X$ is a continuous unit vector field, we conclude that $X$ is constant ($\nabla X \equiv 0$).