Knudsen layer theory for high-order lattice Boltzmann models