Suppose first that $p'$ is nonzero on $(0,1)$, so that $p$ has an inverse $q$ on $[0,1]$ which is differentiable everywhere except possibly at the endpoints. Then making the substitution $u=p(x)$ yields
$$\int_0^1 e^{i \, n \, p(x)} \, dx=\int_{p(0)}^{p(1)} e^{i \, n \, u} \, \frac{1}{p'(q(u))}\, du \, .$$
The function $f(u)=\dfrac{1}{p'(q(u))}$ is continuous on the interior of the interval of integration. At $p(0)$ and $p(1)$, $f(u)$ is either continuous or grows like $u^{-(n-1)/n}$ for some $n>1$. So $f(u)$ is $L^1$, which means the ordinary Riemann-Lebesgue lemma applies.
In general, $p'$ may not be nonzero on the entire interval. But since $p$ is a polynomial, we can split $[0,1]$ up into some finite collection of intervals over which $p'$ is nonzero, and make the above substitution separately on each of them...