Gravar-mail: A score test for genetic class-level association with nonlinear biomarker trajectories