Virginia lawmakers are moving forward with legislation designed to prepare workers for offshore wind jobs as part of a broader effort to strengthen the state’s coastal economy.