The second test flight of Lockheed Martin Corp.’s hypersonic missile prototype was marred by the weapon’s failure to transmit in-flight performance data, two people familiar with the results said, a setback for US efforts to catch up with China and Russia in a key weapons capability.