Montana legislators vote against restricting media photos