Apple won’t have to face a lawsuit alleging the Apple Watch copied heart-monitoring technology from AliveCor.