Judge denies town summary judgment on former youth services director’s complaint