[libc++] Implement ranges::lexicographical_compare

Reviewed By: var-const, Mordante, #libc

Spies: H-G-Hristov, sstefan1, libcxx-commits, mgorny

Differential Revision: https://reviews.llvm.org/D127130

GitOrigin-RevId: afd5a4f2dcd6674d2a09a97bc23475ed745ade89
11 files changed