Evolution of the Radius Valley around Low-mass Stars from Kepler and K2