Bulk and element-specific magnetism of medium-entropy and high-entropy Cantor-Wu alloys