The Socialist Party criticized Bayrou’s appointment, accusing Macron of ignoring calls for a leftist leader.