Oil dips, but hovers near 2023 highs on China demand optimism