Army’s first openly gay general retires after inspiring others