Guru

A person who engages deeply with a small number of powerful individuals in leadership roles and privately challenges/enables them to make better decisions.

Related to some forms of consulting.

As distinct from pundit.