Deputy prime minister Najib Razak has been officially declared president of Umno, a role that will make him the country's next leader.