Developers can compete for up to $50 million in funds for projects to revamp Massachusetts ports and help jumpstart the offshore wind industry.