Chirped-pulse coherent pulse stacking in a Yb-doped fiber laser for high-repetition-rate electron bunch shaping