A data-driven causal model for modeling systematics in Kepler light curves