Charles Leclerc topped the timesheets in second practice at the Bahrain Grand Prix in Malaysia, with the session staying dry despite the threat of rain.