Proposed law could direct restaurants to reveal who’s getting gratuity or service charge and disclose percentages