Iran's Central Bank head has resigned as the biggest protests since 2022 hit several cities over the currency plunge.