Chiral vortical conductivity across a topological phase transition from holography