From spinon band topology to the symmetry quantum numbers of monopoles in Dirac spin liquids