Light scalar field constraints from gravitational-wave observations of compact binaries