Pion chemical equilibration in heavy-ion collisions: relativistic quantum molecular dynamic analysis