The spectral property of dual matrix strings as a consequence of the existence of spectral matrix functions for canonical systems