Natasha Singer’s book “Coding Kids” tracks how public schools were bewitched by private corporations, setting the stage for the ed-tech backlash of today.