Indirect searches for solar dark matter with DUNE