ai_helper.get_live_units: don't use filter_wml

It’s slow, the new method is between 10 and 20 times faster.