A Manhattan federal court on Friday rejected a motion by a group of rock musicians to proceed with a class-action lawsuit against Universal Music Group and its Capitol Records subsidiary, which they accused of ignoring notices that they were reclaiming their copyrights from the label.