Authorities have identified the gunman who opened fire at a bank in Louisville, Kentucky, killing four people before being killed himself in a shootout with police.