In the Team screen, click the Team icon on the left side of the screen, below the Team Chat icon.

Then, open the TEAM INFO screen by clicking the Team icon/name and click the red "LEAVE TEAM" button.