compaction_manager: rewrite_sstables: do not acquire table write lock
compaction_manager: rewrite_sstables: do not acquire table write lock

Since regular compaction may run in parallel no lock
is required per-table.

We still acquire a read lock in this patch, for backporting
purposes, in case the branch doesn't contain
6737c880458c216c9ab933b0348b9f78fe79c648.
But it can be removed entirely in master in a follow-up patch.

This should solve some of the slowness in cleanup compaction (and
likely in upgrade sstables seen in #10060, and
possibly #10166.

Fixes #10175

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>

Closes #10177

scylladb/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla