A teenager who watched her younger sister go through chemotherapy and lose her hair has donated her own locks to help others.