Libya has summoned the United States envoy to formally protest comments recently made by Donald Trump.