Unfortunately, there is no law obligating an employer to ignore previous employment history including prior discharges when they make employment decisions.  You would not have a claim against an employer because of a failure to hire based on having been terminated in the past for the reasons you described unless you can establish some type of discrimination or other improper motive in violation of state or federal law.