Philadelphia’s two-term elected district attorney said Thursday he wants a court to stop plans to appoint a special prosecutor who would handle crimes on the city’s trains under a new law designed to dilute his authority that he argues is unconstitutional.