An asymptotic relation between the wirelength of an embedding and the Wiener index