Self‐consistent theory of three‐dimensional convection in the geomagnetic tail