George Bogden, a senior aide at Customs and Border Protection, was pushed aside after officials circulated a photo of him at Miles Taylor’s wedding.