Laurent Mekies has agreed a contract extension that will see him remain as team principal at Red Bull through 2031.