Temporal coarse graining and elimination of slow and periodic dynamics with the generalized Langevin equation for convolution-time-filtered observables