Equations of state of the Potts ferromagnet in an anisotropic square lattice: Renormalization-group approach