Tangle categories and endomorphism algebras of certain infinite dimensional $U_q(\mathrm{sl}_2)$ modules