A high-resolution multiwire area detector for X-ray scattering