Inferences in mixed-effects models with missing covariates and application to meta-analysis