The child was found by horrified bystanders after allegedly being locked inside the dryer by three adults who have since been arrested