FBI Director Christopher Wray joined officials at the Department of Justice in asking technology firms to work with law enforcement to find solutions that balance online privacy and security with the need to protect children and communities from harm.