US state outlaws up-close filming of cops