Structural and functional analysis of DDR1 autoinhibition