H2CGL: Modeling Dynamics of Citation Network for Impact Prediction