Alex Albon recovered from his costly crash on Friday to ensure a second-row position on the grid for Red Bull.