Painlevé transcendent describes quantum correlation function of the XXZ antiferromagnet away from the free-fermion point