President Trump speaks in New York as court weighs appeal in fraud case