So either, he had woken up and walked to his room on his own and then forgot about it, or Harry Potter had carried his unconscious body across the castle, somehow managed to enter the Slytherin dorms, and deposited him on his bed without waking Draco up once.