Merge "[Thread] discover and resolve the meshcop service only on test network" into main