During the past decade, innovation has stumbled. And that may help explain America’s economic woes