Scott Allen Gardner, 33, allegedly left his 18-month-old son in an overheated truck for three hours while he went for a haircut