Astrometric Radial Velocities II. Maximum-likelihood estimation of radial velocities in moving clusters