Judge says Trump lied in election lawsuit