CENTRAL ISLIP, N.Y. -- A judge on Wednesday dismissed a federal lawsuit challenging a suburban New York ban on wearing…