Basis-independent quantum coherence and its distribution in spin chains with three-site interaction