Ayotte cites transgender athlete decision as precedent for N.H. law