A teenager has been found guilty of a stabbing which left a boy in a serious condition.