President Joe Biden will make a farewell speech to world leaders at the United Nations General Assembly on Tuesday as he seeks to burnish his foreign policy legacy.