A Leeds man has been found guilty of killing a teenager from a rival gang with a sword during a deadly drugs dispute, but was cleared of murder.