PARIS — The first projections after polls closed in France’s legislative election have the populist, anti-immigration National Rally party falling behind an alliance of left-wing parties and candidates from President Emmanuel Macron’s centrist movement. French voters appear to have mobilized to prevent the first far-right government since World War II. Without any party getting a majority, however, the result could be political deadlock just ahead of the Paris Olympics.