Unveiling two types of local order in liquid water using machine learning