Imran Khan's visit comes after the United States asked Pakistan to help mediate between long-time regional foes Saudi Arabia and Iran.