On Sequoia v15.3, I just generated a PDF from TeXShop v5.49 using XeLaTeX for the typesetter:
\documentclass[12pt]{article}
%% \usepackage[fontsize=13pt]{scrextend}
\usepackage[left=0.5in,top=0.5in,bottom=0.5in,bindingoffset=0.5in]{geometry}
\usepackage{kantlipsum}
\usepackage{parskip}
\usepackage{fontspec}
\setmainfont[
%:
%% Path = /usr/local/Texlive/2023/texmf-dist/fonts/opentype/public/qualitype/,
Path = /System/Library/Fonts/Supplemental/,
] {Georgia.ttf}
\begin{document}
%% paragraphs 1 thru 6
\kant[1-6]
\end{document}
Unsurprisingly, I could select a word in the text, right-click on it, and get the expected Lookup result. When I scan a one-page document on my Canon LiDE 400 using VueScan Professional v9.8.44 and have the OCR option selected, I can achieve the same functionality in Lookup while viewing the PDF in Preview.
When I choose File menu > Print… PDF > Save as PDF, the invisible OCR text is removed and a selected word presents as "" in Lookup — because that save operation strips out the invisible text that comprises the OCR content.
Only scanned documents, which are a PDF wrapper around an image of the scanned text, require OCR to place an exact registration of the invisible (searchable, selectable) text above the image text.