Nursultan Nazarbayev, the president of Kazakhstan, said on Tuesday he was resigning as the Central Asian nation’s leader after three decades in power.