Thermalization near integrability in a dipolar quantum Newton's cradle