New York appeals court declares Spanish club the America's Cup challenger