Influence of the static electron gas screening function on the lattice dynamics of sodium