Kinetic theory of double layers driven by temperature anisotropy in a non-homogeneous magnetic field