Does the mount need to be tracking to use the polar alignment tool?

No.  It doesn’t matter whether the mount is tracking or not when performing polar alignment. It can even be switched off. This is because you are looking at the stars that are close to the celestial pole which will hardly move over the few minutes needed to perform polar alignment.