Here's what I learned from a failed international expansion — and how founders can validate a market before committing capital.