Nodal Line Entanglement Entropy: Generalized Widom Formula from Entanglement Hamiltonians