The OnEnable is only called once at the start of the graph, so you probably want to replace it with OnUpdate.
With that said however it will still not work in the context of Dynamic. Unfortunately SubGraphs do not work the same way as Condition Tasks do in the context of Dynamic Composites. I will take another look at this however possibly making it work so.