Jean-Luc Mélenchon seizes on student demonstrations and transforms himself into real contender for France’s highest office