A toddler's missing teddy bear has been returned home after thousands of people shared an online appeal to help find his owners.