protocol/inspircd: Ensure ircd-side topic lock state is always what we think it should be