US court convicts al-Qaeda member of terror attack in&nbsp;Afghan