The co-founder of a Philly youth program went to court as an advocate — and was arrested