Lego reported a 12% rise in consumer sales in 2024, outperforming both a 1% drop in the global toy market and the sales performance of its rivals.