US President Donald Trump has wished Sheikh Hasina a successful third term as Bangladesh's prime minister.