Pastor at heart of Washington-Ankara diplomatic dispute leaves Turkey after a court ordered his release.