Returns the first element of array in lexicographic order that satisfies pred, or #f if no element is found.