fix: composite controller route handling for non-moving entities
With the integration of the new route handling for MantleAPI v17 we also need to consider that there are CompositeControllers for non-moving entities (traffic lights). Otherwise the dynamic_cast will return a nullptr which leads to a crash.
Pipelines: https://ci.eclipse.org/openpass/job/GtGenCore/job/MR-265/
Edited by Andreas Rauschert