Z2 vortices in the ground states of classical Kitaev-Heisenberg models