Months before the failure of the City of Richmond’s water supply, state officials began reaching out to localities to explore plans for potentially combining water systems during emergencies.