What has gone wrong is not that the war in Afghanistan was not won but rather that America took too long to defeat itself in an unwinnable war