Ableism is so ingrained in our society that folks have trouble even recognizing it. OP is absolutely experiencing ableism, being dismissed and treated differently because of their health issues, recognized and intentional or not, is ableism.
Your example is a very legal perspective of ableism that barely scratches the surface of ableism and makes it difficult to address wider impacts. This is a similar thinking to racism only being legal segregation and the KKK, when it shows up in everyday life in far broader ways.
Have been masking since early 2020, haven’t been sick with any contagious illness in 4 years. Infection is preventable, not inevitable, and I’ll never willingly expose myself to it again. Sucks people were convinced otherwise, would be nice to not have overwhelmed health systems (not that it’s new, definitely worse now though).