Change pypi action to trigger when a release is published.
Change pypi action to trigger when a release is published.

Previously, if a release was created as draft then published, the action would
not trigger.

PiperOrigin-RevId: 488927378

deepmind/dm-haiku,deepmind/dm-haiku