A Universal Mirror-stacking Approach for Constructing Topological Bound States in the Continuum