Search for Gravitational Waves from a Long-lived Remnant of the Binary Neutron Star Merger GW170817