Nice picked up their first Ligue 1 win in six, as Wylan Cyprien volleyed home a stunning winner with 10 minutes left to play against relegation-threatened Lille.