Since the defeat of Hillary Clinton in the 2016 US presidential election, the Democratic Party has struggled to define its future.