The “War on Terror” was built on a series of deceptions to persuade the Western public that its leaders were crushing Islamist extremism. In truth, they were nourishing it.