A mother was arrested after her baby died from sitting in a hot car for several hours while the family attended church