doc: clarify that backupwallet requires a filename

bitcoin/bitcoin: PR #36972

The review is inconclusive; no findings were published.

Coverage details

Background

Ralph's summary of historical context for the behaviour affected by this change. The historical record reviewed here is incomplete.

Ralph's inferences

The file-only behavior predates this documentation correction. SQLiteDatabase::Backup passes the supplied destination directly to sqlite3_open, then copies database pages through SQLite’s backup API; it does not detect a destination directory and append a filename.

This establishes the immediate mechanism behind the filename requirement, but not a historical policy decision to withdraw directory support. The current implementation alone cannot establish whether the old wording accurately described Berkeley DB.

The proposed change documents an existing backend constraint rather than introducing a new backup destination rule.

Both pinned versions forward the destination to BackupWallet and report the same wallet error on failure. Only the description and argument help change. The historical question should therefore distinguish when SQLite first required a filename from when any directory-capable backend stopped being supported; the inspected evidence does not date those transitions.