If you want to race fast, get a real road bike.
Country/Adventure/Gravel Grinder road bikes are not built for speed. They're built for comfortable all-day riding, to let you haul stuff and to get you anywhere you want to go.
So if you want to race someday, spend the money to get a light and fast bike just for the road.
Don't try to convert another bike because you won't have as much as fun riding it and it will never go fast.