The John Lewis Partnership has appointed a new legal head, following the departure of general counsel Keith Hubber.