As companies embrace biometric technologies, strict rules-and harsh penalties-shape what’s legal and what’s forbidden in the workplace.