INVESTMENT AGREEMENT by and among GLOBAL PARTNER ACQUISITION CORP. II, GLOBAL PARTNER SPONSOR II LLC and ENDURANCE GLOBAL PARTNER II, LLC Dated as of January 13, 2023