An AI can identify the sex of a 9 to 10-year-old child based on their brain scans, but may be less accurate when it comes to gauging their gender