Monte Carlo renormalization-group study of the Baxter-Wu model