A Hybrid Approach for Considering Topography in Graph-Based Optimization of Water Distribution Networks