An NBA prospect’s draft party erupted when he was picked just as everybody appeared to be giving up hope