Northamptonshire County Cricket Club has extended head coach Darren Lehmann's contract for another two years, keeping him until the end of the 2029 season.