British grocers are set for improving earnings in 2026 after a year marked by persistent food inflation, rivalry with cheaper competitors and a major cyberattack.