Hornets win NBA draft lottery, will draft 1st and 10th