Use hack-local-variables-prop-line to find lexical-binding in the -*- line
Extract flypkg/lexical-binding-declared-in-header-line-p