M. Night Shyamalan is making his TV debut with “Wayward Pines,” a 10-episode events series that premieres Thursday night on Fox. The mystery miniseries, which has inspired comparisons to “Twin Peaks,”…