A young boy whose plea to leave immigration detention so he could attend a spelling bee garnered national attention has been released in time for the competition, according to his family's attorney.