As the makeup of the Supreme Court shifts, a timely new book examines how the court has influenced America’s public schools.