So the states in the Mecanim Animator are more about single shot kind of animations, like waving. Honestly it’s a hold over from the way the legacy setup did animations, and a better way of doing that style of animation is to use the Mecanim Parameter node and set a trigger or boolean.
For your purposes, locomotion, you should use the Mecanim Motor. At the bottom it has a drop down that allows you to add parameters to forward to the state machine. For your purpose I would add VelocityZ, and then change the name to Forward to match your state machine. That should forward the current forward velocity of the AI into the state machine, with root motion it is really the attempted velocity forward since we the animation will actually do the movement.
You may also want to add TurnAngle and rename that to Turn for your state machine, although I would get the forward working first.