PARIS—Western governments fighting Islamic State have begun preparing for the invasion of the group’s de facto capital of Raqqa in Syria and expect to start that operation before completing the campaign to recapture the militant-controlled city of Mosul in Iraq , U.S. Secretary of Defense Ash Carter said on Tuesday.