InkFM: A Foundational Model for Full-Page Online Handwritten Note Understanding