The “Feel Good” creator and stand-up comedian toys with a new genre in “Wayward,” a mystery-thriller about a therapeutic boarding school whose eerie local influence and harsh psychological “treatments” prompt the small town’s newest deputy to ask questions no one wants to answer.