Instrumental Variable Estimation for Causal Inference in Longitudinal Data with Time-Dependent Latent Confounders