Thanks for the message!
The lid switch really shouldn't be doing that. If it triggers when you bump the case, then it could be a problem with the cable shorting out, or something funny going on with the lid sensor itself.
I could also imagine a cross-threaded expansion header cable. The lid sensor is connected to the front panel board via that long wire that snakes around, and then on to the main board via the flat-flex cable. Right next to that pin is SD1_DAT3 (it might be labeled something else on the schematic, long story) which is wired up as the front panel LED. If it's not threaded straight, you could be feeding 3.3V into the lid switch GPIO, which would cause it to trigger. The pin next to it on the other side is the matrix controller, which occasionally gets pulses to scan the "matrix", but that one's harder to disable.
What happens if you turn the front LED off? Run:
echo 0 | sudo tee /sys/class/leds/novena\:white\:panel/brightness
That will prevent 3.3V from going into the GPIO key. Does that fix the problem? If so, try re-seating the front panel board, or, annoyingly, re-seat the cable that's plugged into the bottom of the board.
Alternately, there might be a bit of magnetic material around the lid switch that causes it to trigger when you tap the case.