Elisa Longo Borghini (Lidl-Trek) proved the strongest in a three-up sprint to win a thrilling Tour of Flanders.