Judge rules against student blogger's First Amendment claim