Two young women suspected of planning an attack in France were detained by police in the southern French city of Nice, a person familiar with the investigation said Sunday, the latest sign that Islamic State is shifting its focus from the battlefield in Syria to orchestrating terror plots in Europe.