An Integrated Machine Learning and IoT-Based Framework for Predictive Urban Water Demand Management and Distribution Optimization