The company that has run the lottery since its launch in 1994 will be replaced by Allwyn in 2024.