Most of the Chinese mantises I released to my garden died similarly to this. I found them dead on leaves. Never really noticed anything coming out of the abdomen, but I never really looked too hard. I always figured they died of heat exhaustion (SoCal, after all).
It’s possible the little guy died of constipation.