Self-Attention as a Parametric Endofunctor: A Categorical Framework for Transformer Architectures