USWNT legend Megan Rapinoe will retire from professional football at the end of the NWSL season in October.