Positron and positronium chemistry by quantum Monte Carlo. VI. The ground state of LiPs, NaPs, e+Be, and e+Mg