The 21-year-old thanked President Trump for negotiating his May release after 584 days in Hamas captivity.