A class action in the Supreme Court could shape how Victoria Police officers use capsicum spray at public protests.