In the diagram, square $ABCD$ has sides of length 4, and $\triangle ABE$ is equilateral. Line segments $BE$ and $AC$ intersect at $P$. Point $Q$ is on $BC$ so that $PQ$ is perpendicular to $BC$ and $PQ=x$. Find the value of $x$ in simplest radical form.