fix: detect frontmatter-only changes in sync to prevent stale note records
Extend the PDS comparison in sync to cover title, description, tags, and
note-specific fields (theme, fontSize, fontFamily) in addition to body
text. Previously, changing only frontmatter and running sync would store
the current file hash, causing publish to skip the update.
The comparison logic is extracted into a matchesPDS helper for clarity.