Homotopical characterization of non-Hermitian band structures