Characterization of wavebreaking time and dissipation of weakly nonlinear wakefields due to ion motion