The max-INAR(1) model for count processes