Efficient Learning-based Scheduling for Information Freshness in Wireless Networks