Iran’s government has named Motjaba Khameini, the son of the late supreme leader, as the country’s new ruler in what was described as a defiant move.