Former jihadi detained by US in Iraq over al-Qaeda ties becomes the country’s first leader to visit US since 1946