The US president has sued banking giant JPMorgan Chase for allegedly closing his accounts for political reasons.