The five-year-old National Women’s Soccer League has sold an equity stake to A&E Television Networks as part of a broad sponsorship and broadcast-rights agreement that will provide the league with an infusion of cash, steady national television exposure and something it may value even more: an investor committed to its future.