Thomas Edison’s “innovation factory” turned out more than 1,000 patents. Modern leaders can steal his formula for maximizing creativity at work.