Estimating causal effects of time-dependent exposures on a binary endpoint in a high-dimensional setting