Sadiq Khan faces Ulez judgment day as twin threats loom for mayor’s flagship policy