‘We all have a Trump problem’: UN official angling for role in post-war Gaza has history of bashing Trump