Enough with treating the population like babies.
This isn't even going to have any effect! And it would still be wrong to do even if it made everyone skinny.
If we as HN commenters praise a reduction of 1 second of latency for an RPC call to a microservice, surely reducing the latency for consumers standing in line by 5 minutes is laudable! Especially because of the low burden by fast food owners!
If you want to discuss some other encroachment of liberty by the government, feel free. But this proposal in isolation is reasonable.
Do you think alcoholic drinks should be labelled with the percentage of alcohol contained? Should food be labelled with the ingredients? Should you be allowed to know if your food contains nuts? And so on.
You can argue a compelling interest for labeling food allergens, because they can kill people almost immediately. Calories can't.
As a customer you don't get a choice whether or not you get exposed to a lot of intrusive advertising encouraging you to eat more (at least in your McDonald's example). It seems to me this is in a small way redressing that balance.
In purely pragmatic terms you are balancing the health of the population (heart attacks, strokes, mental state quality) against the right of a multinational restaurant chain to be slightly more profitable. I think it is well worth it. There are far more egregious abuses of personal liberty you could complain about.