Arctic Curves of the Six-Vertex Model on Generic Domains: The Tangent Method