Magnetic quivers and line defects — On a duality between 3d $$ \mathcal{N} $$ = 4 unitary and orthosymplectic quivers