Islamic state has claimed responsibility for a shooting in Toronto on Sunday that killed two people and wounded 13, the group’s AMAQ news agency said on Wednesday.