Adaptive Contact-Implicit Model Predictive Control with Online Residual Learning