Gravitational scattering at the seventh order in G : Nonlocal contribution at the sixth post-Newtonian accuracy