Phase Retrieval using Lipschitz Continuous Maps