An explosion on a boat carrying Maldives President Abdulla Yameen injured his wife and two others, but left him unhurt.