Causal Imputation for Counterfactual SCMs: Bridging Graphs and Latent Factor Models