Axion hair and dynamical torsion from anomalies