Texas toddler dies from self-inflicted gunshot