How do I query the cart line properties attribute?

Are you sure it’s dependent on the Cart Line properties field? If it is associated with the cart, you should do it like this.

query RunInput {
  cart {
    attribute(key: "properties") { 
      value 
    }
    lines {
      id
      quantity
    }
  }
}