Trump campaign wins lawsuit to extend voting hours