During a 2010 journey to Kenya, a primary suspect in the killing of a British soldier in London last week associated with people connected with violent Islamist group al-Shabaab and helped recruit for the group, according to people familiar with his visit.