The former “19 Kids and Counting” reality TV star posted an apology following reports that he had an account on the website Ashley Madison.