v.23.1Bug Fix

Fix race condition in Distributed table creation and INSERT

Fix a race between Distributed table creation and INSERT into it (could lead to CANNOT_LINK during INSERT into the table). #45502 (Azat Khuzhin).