Zambia's president warns Donald Trump to take action after the US ambassador criticised the decision to jail two gay men.