Biden outraises and outspends Trump in June as questions loom about the president’s political future