Sean Longstaff volleyed a last-gasp equaliser as Leeds edged closer to Premier League safety by twice coming from behind to dent Bournemouth's European push with a 2-2 draw.