A spy who worked for a country in the U.S.-led coalition that is fighting Islamic State had helped three British girls to cross into Syria to join the militants and has been caught, the Turkish foreign minister said on Thursday.