Prefer calling vc-state (rather than vc-hg-state) to benefit from the caching in vc-state.

This same technique is used in vc-git.el, per commit "2018-06-28 "Remove extra process call from vc-git-find-file-hook" 93c41ce6aa64b14fc9bd7bdd0d909915a79191cd.