skip custom events when creating hitshapes

this is a performance improvement that also fixes #7651 7651

Diffs=
f55ebd34f skip custom events when creating hitshapes (#7577)

Co-authored-by: hernan <hernan@rive.app>
diff --git a/.rive_head b/.rive_head
index 79e4087..080a680 100644
--- a/.rive_head
+++ b/.rive_head
@@ -1 +1 @@
-58a9574ce1a8fd45a85ba8118ec14fa8fb0b4a22
+f55ebd34f3938bfe1e36ebf83bbc92c0e5d34a62
diff --git a/src/animation/state_machine_instance.cpp b/src/animation/state_machine_instance.cpp
index d564b87..90bafbc 100644
--- a/src/animation/state_machine_instance.cpp
+++ b/src/animation/state_machine_instance.cpp
@@ -729,6 +729,10 @@
     for (std::size_t i = 0; i < machine->listenerCount(); i++)
     {
         auto listener = machine->listener(i);
+        if (listener->listenerType() == ListenerType::event)
+        {
+            continue;
+        }
         auto target = m_artboardInstance->resolve(listener->targetId());
         if (target != nullptr && target->is<ContainerComponent>())
         {