An Uzbek imam who ran into trouble for urging President Shavkat Mirziyoyev to lift a school headscarf ban said he has left the mainly Muslim nation due to pressure from security services.