Los Angeles FC scored a last-gasp winner against Seattle while David Villa reached 400 career goals in New York City's victory over FC Dallas.