Prediction-Powered Inference with Imputed Covariates and Nonuniform Sampling