Study of electron-phonon scattering in potassium via the radiofrequency size effect