sqlite3 should be an opaque structure, but check the SQLite headers, you might find some undocumented fields containing the database path there.
Even if you find such a field, using it is a bad idea and will sooner or later lead to maintenance problems.
Why do you need to save the database path along with the descriptor first?
source share