Regularized Lagrange-mesh calculations and electron correlation in the ground states of helium-like atoms