Federated Cyber Defense: Privacy-Preserving Ransomware Detection Across Distributed Systems