The lawsuit filed by Miller's ex-wife alleges that he shared a link to a Dropbox file with a nude image of their daughter