Evolution of the metal content of the intracluster medium with hydrodynamical simulations