Wallingford man’s plans for NY state war games halted, court says