Charles Lapicque, la vocation maritime