President Donald Trump appeared to describe his proposed border wall as a political tool in a call with Mexico's president.