Cambridge-based Vertex Pharmaceuticals has signed a letter of intent to lease two as-yet-unbuilt office towers in the Seaport District’s Fan Pier area an provide 500 new jobs in exchange for tens of millions in subsidies.