A Random-covariate Approach for Distal Outcome Prediction with Latent Class Analysis