What is a drink made of hot milk curdled with beer and spices?

You're describing a drink called "Posset."

Posset is a traditional British drink made with hot milk curdled with beer (typically ale), and often flavored with spices like nutmeg, cinnamon, ginger, or cloves. It's been consumed for centuries, particularly in England and Scotland, and was believed to have medicinal properties, especially as a remedy for colds and coughs.

While posset isn't as common today, it's still enjoyed by some, especially during colder months. You can find variations of the drink, including some that use wine instead of beer or add other ingredients like sugar, honey, or even fruit.