Helicity and flow topology in three-dimensional anisotropic porous media