The higher Morita category of $E_n$-algebras