Nonsense. There are many ways to deter teams from deliberately icing a subpar product or intentionally losing games, some of which would be more effective than the lottery.
For example, remove the lottery altogether, and pick order is solely based on record. But then the NHL Competition Committee actually does their job, and has one or more analysts scrutinize the bottom 5 teams each year. If they uncover sufficient evidence and observations to determine that any of those teams weren't doing all they reasonably could to win games, they forfeit their first round pick, and the rest of the league moves up a slot. Now teams are very much on notice, everybody plays hard, and the objectively worse your team is, the better their draft stock, with no mystery whatsoever.
Find a way to hit offenders where it hurts, rather than penalize every bad team for the occasional past transgressions of a few franchises.