Characterization of maximally entangled two-qubit states via the Bell-Clauser-Horne-Shimony-Holt inequality