Lehmer's totient problem over $\mathbb{F}_q[x]$