Same for me - not had the problem in 12.1 and am now having the issue with a magic trackpad 2. I try and put my mac to sleep and it just keeps waking up.
If you do: pmset -g log | grep -i "wake from" you'll see a load of DarkWake bluetooth related things.
I've tested this with 3 different magic trackpads, in safe mode and it continues to happen. If you plug the magic trackpad in via usb the errant wake behaviour stops. Also, if you turn off bluetooth prior to putting to sleep, the wake behaviour stops.
So as a horrid hacky workaround:
Using a combination of
Hammerspoon and
blueutil (available on brew) I've automated turning bluetooth off at sleep and on at wake via the hs.caffeinate.watcher.systemWillSleep and hs.caffeinate.watcher.systemDidWake.
Obviously it would be much nicer if Apple fixes this bizarre bug but until then thought this approach might help others.