Lidl’s share of the UK market hit a record high as the supermarket used discounts on baked items to boost in-store sales.