Overlap distributions for quantum quenches in the anisotropic Heisenberg chain