It is not restricted to Sonoma.
You can eliminate the delay with:
defaults write com.stairways.keyboardmaestro.engine WindowSetFrameAnimationTime -float 0.0
But if your move & resize windows start acting oddly and failing in weird ways, please remember you did this rather than sending in support requests asking why.
Sadly it's a choice between slow and works (almost always) or fast and works sometimes for some people maybe. Until Apple decide to resolve it.