Iranian President Ebrahim Raisi demanded US "guarantees" that it will not withdraw again from a nuclear deal if it is revived ahead of his debut visit to the United Nations.