Correct the base class for TimesheetEarningsLine and LeaveEarningsLine

[Refs #76256108]