Search for Subsolar Mass Ultracompact Binaries in Advanced LIGO's Second Observing Run