A Sharp Bound of the Čebyšev Functional for the Riemann-Stieltjes Integral and Applications