An inverse problem for supersonic flow past a curved wedge