Testing Lorentz invariance of electrons with LHAASO observations of PeV gamma-rays from the Crab Nebula