Self‐consistent magnetotail theory: Equilibrium structures including arbitrary variation along the tail axis