New York City has joined a critical World Health Organization network after Donald Trump pulled the US out of the global body after reassuming the presidency.