A study found that stronger trade secret laws in U.S. states helped high-tech firms connect inventors across teams. The inventions that followed had greater technological impact.