Data-adaptive Estimation in Longitudinal Data Structures with Applications in Vaccine Efficacy Trials