New York’s long-arm statute permits a Manhattan-based publisher to sue an out-of-state online corporation for copyright infringement, the state Court of Appeals ruled Wednesday.