Swift-XRT Follow-up of Gravitational-wave Triggers in the Second Advanced LIGO/Virgo Observing Run