Impact of metallicity on the evolution of young star clusters