A TreeNodeRewriter implementation that rewrites Expr::Column expressions by
replacing the columnโs name with an alias if the column exists in the provided schema.
Injects column aliases into a subqueryโs logical plan. The function searches for a Projection
within the given plan, which may be wrapped by other operators (e.g., LIMIT, SORT).
If the top-level plan is a Projection, it directly injects the column aliases.
Otherwise, it iterates through the planโs children to locate and transform the Projection.