Emerging technology can guide ecosystem restoration for future water security