The judge acted swiftly after a federal planning board led by the president’s allies approved his 250-foot arch project on Thursday.