California's Senate has backed the state's wine industry in opposing a bill that it says could allow individual US states to discriminate against out-of-state producers.