AP courses losing favor among more high schools