The Harris campaign raised $1 billion but ended the race in debt. Her loss underscores a bigger party problem.