He reached to grab a toddler he said he thought was falling. Then he spent weeks in jail before the case was thrown out