Apple is being sued over its decision not to implement a system that would have scanned iCloud photos for child sexual abuse material (CSAM).