Latent Compositional Representations Improve Systematic Generalization in Grounded Question Answering