Temporarily drop the schema lock when closing an LSM tree.

We need to drop the schema lock when closing an LSM tree so that worker
threads can complete any operations that remain in the work queue.