Latent Variable Modeling And Causal Inference In Population-Structured Genetics