Distributed grating-assisted coupler for optical all-dielectric electron accelerator