Jeffrey S. Lehman , the president of Cornell University , said yesterday that he would step down on June 30 , after two years in the post , because of differences with the college 's Board of Trustees .