ctdbd: Replace lockwait with locking API and remove ctdb_lockwait.c