Shares of Imax Corp. rallied after hours on Wednesday after the high-end movie-theater operator reported second-quarter results that beat estimates.